package com.istock.licenseTest.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.istock.base.common.api.model.ApiBaseResponse;
import com.istock.licenseTest.service.TestService;

@RestController
public class TestController {

	@Autowired
	private TestService testService;
	
	@RequestMapping("test")
	public ApiBaseResponse<Map<String , Object>> showProperty(){
		return ApiBaseResponse.success(testService.shwoProperty());
	}
}
